package com.jm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jm.domain.entity.RoleMenu;
import com.jm.domain.vo.MenuTreeVo;

import java.util.List;


/**
 * 角色和菜单关联表(RoleMenu)表数据库访问层
 *
 * @author makejava
 * @since 2023-06-26 15:38:10
 */
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    List<MenuTreeVo> selectMenuTreeVoByRoleId(Long roleId);
    List<String> selectRoleRelateMenuIds(Long roleId);

    List<MenuTreeVo> selectALLMenuTreeVo();

    List<String> selectALLMenuIds();
}

